package com.chuangsi.project.admin.dto.admin.brand;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 * @author wangshengming
 * @date 2023/3/23
 */
@Data
public class ReqBrandUpdateDto {

    @ApiModelProperty(value = "品牌id")
    @NotEmpty(message="品牌id不能为空")
    @Size(max=32,message="品牌id长度过长")
    private String brandId;

    @ApiModelProperty(value = "品牌名称")
    @NotEmpty(message="品牌名称不能为空")
    @Size(max=50,message="品牌名称长度过长")
    private String brandName;


}
